package com.company.nuwa.common.enumration;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>message handler flag</p >
 *
 * @author Mitchell
 * @version 1.0
 * @date 2020/06/01 14:42
 */
@AllArgsConstructor
public enum MessageHandlerFlag {

    /**
     * 无需处理
     */
    NO_NEED(0, "no_need"),

    /**
     * 待处理
     */
    WAIT_HANDLER(1, "wait_handler"),

    /**
     * 已处理
     */
    ALREADY_HANDLER(2, "already_handler"),

    ;

    @Getter
    private int code;

    @Getter
    private String message;
}
